package com.dfiov.cloud.msmtools.mapper.entity.msbluetooth;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@ApiModel("DeviceBluetoothKeyListResp")
@Data
public class D53DeviceBluetoothKeyListResp {
	@ApiModelProperty("deviceId")
	private String deviceId;
	@ApiModelProperty("蓝牙钥匙列表")
	private List<D53ApplyResp> bluetoothKeys;

    @ApiModelProperty(value = "车辆蓝牙服务到期时间", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime endTime;


    @ApiModelProperty(value = "剩余天数", required = true)
    private Integer remainDay;

	public D53DeviceBluetoothKeyListResp(String deviceId, List<D53ApplyResp> bluetoothKeys) {
		this.deviceId = deviceId;
		this.bluetoothKeys = bluetoothKeys;
	}
    public D53DeviceBluetoothKeyListResp(){

    }

}
